/**
 * Created by buxingxu on 2017/4/15.
 */
export default {
  mobile(telephone) {
    let pattern = /^(1.[0-9]{9})$/;
    return pattern.test(telephone);
  },
  minLength(value, length) {
    return value.length >= length
  }
}